﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DimDataList.aspx.cs" Inherits="DExcelServiceApp.DimDataList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <table style="width: 100%">
        <tr>
            <td valign="top" style="width: 150px;">
                <a href="BOrgList.aspx">Org List</a><br />
                <a href="BDomainList.aspx">Domain List</a><br />
                <a href="BYearList.aspx">Year List</a><br />
                <a href="DimDataList.aspx">Dim Data List</a><br />
                <a href="DimDocTemplateList.aspx">Doc Tempalte List</a><br />
                <a href="DocList.aspx">Doc List</a>
            </td>
            <td valign="top" style="width: 30%;">
                <div>
                    <div>
                        Code<asp:TextBox ID="_ctlEditCode" runat="server"></asp:TextBox>
                    </div>
                    <div>
                        Name<asp:TextBox ID="_ctlEditName" runat="server"></asp:TextBox>
                    </div>
                    <asp:Button ID="_ctlBtnCreateDimData" runat="server" Text="Button" OnClick="_ctlBtnCreateDimData_Click" />
                </div>
                <asp:GridView ID="_ctlGridDimData" runat="server" Width="100%" OnSelectedIndexChanged="_ctlGridDimData_SelectedIndexChanged"
                    DataKeyNames="Id">
                    <Columns>
                        <asp:ButtonField CommandName="Select" Text="按钮" />
                    </Columns>
                </asp:GridView>
            </td>
            <td valign="top">
                <div>
                    ParentCode<asp:TextBox ID="_ctlEditItemPCode" runat="server" ReadOnly="true"></asp:TextBox>
                    <asp:Button
                        ID="_ctlBtnClear" runat="server" Text="clear" 
                        onclick="_ctlBtnClear_Click" />
                </div>
                <div>
                    Code<asp:TextBox ID="_ctlEditItemCode" runat="server"></asp:TextBox>
                </div>
                <div>
                    Name<asp:TextBox ID="_ctlEditItemName" runat="server"></asp:TextBox>
                </div>
                <div>
                    <asp:Button ID="_ctlBtnCreateItem" runat="server" Text="Button" OnClick="_ctlBtnCreateItem_Click" />
                </div>
                <asp:GridView ID="_ctlGridItems" runat="server" Width="100%" 
                    onselectedindexchanged="_ctlGridItems_SelectedIndexChanged" DataKeyNames="Code">
                    <Columns>
                        <asp:ButtonField CommandName="Select" Text="按钮" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    <div>
        <asp:HiddenField ID="_ctlHiddenDataCode" runat="server" />
        <asp:HiddenField ID="_ctlHiddenParentCode" runat="server" />
        <asp:HiddenField ID="_ctlHiddenParentId" runat="server" />
    </div>
    </form>
</body>
</html>
